﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/Content.Master" AutoEventWireup="true"
    CodeBehind="MainPage.aspx.cs" Inherits="RED_NET.ContentPage.User.MainPage" Title="无标题页"
    ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div align="center">
    <link href="../../Image_Css/NewsCss/MainPageCss.css" rel="Stylesheet" type="text/css" />
    <div id="div_MainPage1">
     <br />
            <br />
        <div id="div_Photo">
        <asp:HyperLink ID="HyperLink_MyPhoto" runat="server" Text="最新图片" Width="100%" Height="40px"
            Font-Italic="true" ForeColor="White" Font-Size="XX-Large" BackColor="#a8b6b7"></asp:HyperLink>
            <br />
             <asp:Label ID="Label_NULL_Photo" runat="server" ForeColor="White" Font-Size="Large" Text="主人比较懒，还没上传任何图片哟！！"　 Visible="false"></asp:Label>
            <asp:DataList ID="DataList_ShowNewPhoto" runat="server" RepeatDirection="Horizontal"
                Width="100%" RepeatColumns="5">
                <ItemTemplate>
                    <asp:Image ID="Image_Photo" runat="server" Height="100px" Width="100px" ImageUrl='<%#Eval("_PhotoUrl")%>'
                        BorderColor="White" BorderWidth="2px" />
                </ItemTemplate>
            </asp:DataList>
        </div>
         <br />
            <br />
        <asp:HyperLink ID="HyperLink_MyDaily" runat="server" Text="我的日志" Width="100%" Height="40px"
            Font-Italic="true" ForeColor="White" Font-Size="XX-Large" BackColor="#a8b6b7"></asp:HyperLink>
             <asp:Label ID="Label_NULL_Daily" runat="server" ForeColor="White" Font-Size="Large" Text="主人比较懒，还没写任何日志哟！！" Visible="false"></asp:Label>
        <br />
        <asp:DataList ID="DataList_MyDaily" runat="server" Width="100%" Height="80px" ItemStyle-BorderWidth="1px" ItemStyle-BorderColor="White" OnEditCommand="MyDaily_Reply_Click" BorderColor="White" BorderWidth="1px">
            <ItemTemplate>
             <asp:LinkButton ID="LinkButton_Reply" Text='<%#Eval("_Title") %>' Height="40px" Font-Size="X-Large" ForeColor="Black"  Font-Underline="false"   runat="server" CommandName="edit"></asp:LinkButton> 
            
            &nbsp&nbsp <asp:Label ID="Label_Time" runat="server" Text='<%#Eval("_UpdateTime") %>' ForeColor="Gray"></asp:Label>
             <br />
       
            </ItemTemplate>
        </asp:DataList>
        <br />
        <br />
        <br />
        <asp:HyperLink ID="HyperLink_Message" runat="server" Width="100%" Height="40px" Font-Italic="true"
            ForeColor="White" Font-Size="XX-Large" BackColor="#a8b6b7" Text="好友留言"></asp:HyperLink>
             <asp:Label ID="Label_NULL_Message" runat="server" ForeColor="Black" Font-Size="Large" Text="暂时还没有任何留言哟！！" Visible="false"></asp:Label>
        <br />
        <asp:DataList ID="DataList_Message" runat="server" Width="100%"  OnEditCommand="MyMessage_Reply_Click"  ItemStyle-BorderWidth="1px" ItemStyle-BorderColor="White">
            <ItemTemplate>
                <table>
                    <tr>
                        <td id="td1">
                        
                            <asp:Image ID="Image_Avatar" runat="server" ImageUrl='<%#Eval("_AvatarUrl")%>' Width="80px" CssClass="Avata"
                                Height="80px" />
                     </td>
                     <td id="td2">
                            <asp:Label ID="Label_Name" runat="server" Text='<%#Eval("_NickName") %>'  Font-Size="Large" ForeColor="Gray"></asp:Label>
                        &nbsp
                            <asp:Label ID="Label_Time" runat="server" Text='<%#Eval("_UpdateTime") %>' Font-Size="Medium" ForeColor="#cccccc"></asp:Label>
                            <br /><br />
                            <asp:LinkButton ID="LinkButton_Reply" Text='<%#Eval("_Content") %>' Font-Size="Large" ForeColor="White" runat="server"
                                CommandName="edit"></asp:LinkButton>
                        </td>
               
                </tr> </table>
            </ItemTemplate>
        </asp:DataList>
    </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
